namespace net_work.Data.DTO.Sys;

public class UserUpdateRequest
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public required long Id { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 账号
    /// </summary>
    public required string UserAccount { get; set; }

    /// <summary>
    /// 密码（加密）
    /// </summary>
    public required string UserPassword { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    public string? UserEmail { get; set; }

    /// <summary>
    /// 联系电话
    /// </summary>
    public required string UserPhone { get; set; }

    /// <summary>
    /// 用户角色
    /// </summary>
    public required string UserRole { get; set; }

    /// <summary>
    /// 个人ID（外键）
    /// </summary>
    public required long PsnId { get; set; }
}